package com.zhangxi.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * ClassName: OssProperties
 * Package: com.zhangxi.properties
 */
@Component
@ConfigurationProperties(prefix = "sky.oss")
@Data
public class OssProperties {
    /**
     * 阿里云相关配置项
     */
    private String endpoint;
    private String accessKeyId;
    private String accessKeySecret;
    private String bucketName;
}
